import { createRouter, createWebHistory } from 'vue-router'
import Home from '../views/Home.vue'
import Upload from '../views/Upload.vue'
import Conversion from '../views/Conversion.vue'
import Review from '../views/Review.vue'
import Templates from '../views/Templates.vue'
import Versions from '../views/Versions.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/upload',
    name: 'Upload',
    component: Upload
  },
  {
    path: '/conversion',
    name: 'Conversion',
    component: Conversion
  },
  {
    path: '/review',
    name: 'Review',
    component: Review
  },
  {
    path: '/templates',
    name: 'Templates',
    name: 'Templates',
    component: Templates
  },
  {
    path: '/versions',
    name: 'Versions',
    component: Versions
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router